using System;
using System.Data;

namespace Transfer_Object_Tier
{
	#region Comments
	/// <summary>
	/// HRM_EMPLOYEE Class.
	/// </summary>
	/// <remarks>
	/// <h3>Changes</h3>
	/// <list type="table">
	/// 	<listheader>
	/// 		<th>Author</th>
	/// 		<th>Date</th>
	/// 		<th>Details</th>
	/// 	</listheader>
	/// 	<item>
	/// 		<term>eSolution Viet Nam -- esolution.vn</term>
	/// 		<description>12/21/2012</description>
	/// 		<description>Created</description>
	/// 	</item>
	/// </list>
	/// </remarks>
	#endregion

	[Serializable]
	public class HRM_EMPLOYEE
	{
		#region Construction
		/// <summary>
		/// Initializes a new (no-args) instance of the HRM_EMPLOYEE class.
		/// </summary>
		public HRM_EMPLOYEE()
		{
		}

		/// <summary>
		/// Initializes a new instance of the HRM_EMPLOYEE class.
		/// </summary>
		public HRM_EMPLOYEE(String EmployeeCode, String BranchCode, String DepartmentCode, String GroupCode, String CandidateCode, String EnrollNumber, String FirstName, String LastName, String Alias, Boolean Sex, String Marriage, DateTime Birthday, String BirthPlace, String MainAddress, String ContactAddress, String CellPhone, String HomePhone, String Email, Byte[] Photo, String Nationality, String Ethnic, String Religion, String Education, String Language, String Informatic, String Professional, 
            String Position, String School, String IDCard, DateTime IDCardDate, 
            String IDCardPlace, Boolean IsTest, String TestTime, DateTime TestFromDate, 
            DateTime TestToDate, Decimal TestSalary, DateTime BeginDate, Boolean IsOffWork, 
            DateTime EndDate, String Health, Double Height, Double Weight, Int32 PayForm, Decimal 
            PayMoney, Decimal MinimumSalary, String RankSalary, Int32 StepSalary, 
            Double CoefficientSalary, DateTime DateSalary, Decimal BasicSalary, 
            Decimal InsuranceSalary, Decimal Allowance1, Decimal Allowance2, Decimal Allowance3, 
            Decimal Allowance4, Boolean IsSocialInsurance, Boolean IsHealthInsurance, 
            Boolean IsUnemploymentInsurance, Boolean IsUnionMoney, String BankCode, DateTime BankDate, 
            String BankName, String BankAddress, String LaborCode, DateTime LaborDate, String LaborPlace, 
            Boolean IsUnion, String UnionCode, DateTime UnionDate, String UnionPlace, Boolean IsParty, 
            String PartyCode, DateTime PartyDate, String PartyPlace, String InsuranceCode, 
            DateTime InsuranceDate, String InsurancePlace, String HealthInsuranceCode, 
            DateTime HealthInsuranceFromDate, DateTime HealthInsuranceToDate, 
            String ContractCode, String ContractType, DateTime ContractSignDate, 
            DateTime ContractFromDate, DateTime ContractToDate, String Province, 
            String Hospital, String MilitaryCode, DateTime MilitaryFromDate, DateTime MilitaryToDate, 
            String MilitaryPosition, String PassportCode, DateTime PassportFromDate, 
            DateTime PassportToDate, Int32 Status, String Account, String Password, String Description)
		{
			this.EmployeeCode = EmployeeCode;
			this.BranchCode = BranchCode;
			this.DepartmentCode = DepartmentCode;
			this.GroupCode = GroupCode;
			this.CandidateCode = CandidateCode;
			this.EnrollNumber = EnrollNumber;
			this.FirstName = FirstName;
			this.LastName = LastName;
			this.Alias = Alias;
			this.Sex = Sex;
			this.Marriage = Marriage;
			this.Birthday = Birthday;
			this.BirthPlace = BirthPlace;
			this.MainAddress = MainAddress;
			this.ContactAddress = ContactAddress;
			this.CellPhone = CellPhone;
			this.HomePhone = HomePhone;
			this.Email = Email;
			this.Photo = Photo;
			this.Nationality = Nationality;
			this.Ethnic = Ethnic;
			this.Religion = Religion;
			this.Education = Education;
			this.Language = Language;
			this.Informatic = Informatic;
			this.Professional = Professional;
			this.Position = Position;
			this.School = School;
			this.IDCard = IDCard;
			this.IDCardDate = IDCardDate;
			this.IDCardPlace = IDCardPlace;
			this.IsTest = IsTest;
			this.TestTime = TestTime;
			this.TestFromDate = TestFromDate;
			this.TestToDate = TestToDate;
			this.TestSalary = TestSalary;
			this.BeginDate = BeginDate;
			this.IsOffWork = IsOffWork;
			this.EndDate = EndDate;
			this.Health = Health;
			this.Height = Height;
			this.Weight = Weight;
			this.PayForm = PayForm;
			this.PayMoney = PayMoney;
			this.MinimumSalary = MinimumSalary;
			this.RankSalary = RankSalary;
			this.StepSalary = StepSalary;
			this.CoefficientSalary = CoefficientSalary;
			this.DateSalary = DateSalary;
			this.BasicSalary = BasicSalary;
			this.InsuranceSalary = InsuranceSalary;
			this.Allowance1 = Allowance1;
			this.Allowance2 = Allowance2;
			this.Allowance3 = Allowance3;
			this.Allowance4 = Allowance4;
			this.IsSocialInsurance = IsSocialInsurance;
			this.IsHealthInsurance = IsHealthInsurance;
			this.IsUnemploymentInsurance = IsUnemploymentInsurance;
			this.IsUnionMoney = IsUnionMoney;
			this.BankCode = BankCode;
			this.BankDate = BankDate;
			this.BankName = BankName;
			this.BankAddress = BankAddress;
			this.LaborCode = LaborCode;
			this.LaborDate = LaborDate;
			this.LaborPlace = LaborPlace;
			this.IsUnion = IsUnion;
			this.UnionCode = UnionCode;
			this.UnionDate = UnionDate;
			this.UnionPlace = UnionPlace;
			this.IsParty = IsParty;
			this.PartyCode = PartyCode;
			this.PartyDate = PartyDate;
			this.PartyPlace = PartyPlace;
			this.InsuranceCode = InsuranceCode;
			this.InsuranceDate = InsuranceDate;
			this.InsurancePlace = InsurancePlace;
			this.HealthInsuranceCode = HealthInsuranceCode;
			this.HealthInsuranceFromDate = HealthInsuranceFromDate;
			this.HealthInsuranceToDate = HealthInsuranceToDate;
			this.ContractCode = ContractCode;
			this.ContractType = ContractType;
			this.ContractSignDate = ContractSignDate;
			this.ContractFromDate = ContractFromDate;
			this.ContractToDate = ContractToDate;
			this.Province = Province;
			this.Hospital = Hospital;
			this.MilitaryCode = MilitaryCode;
			this.MilitaryFromDate = MilitaryFromDate;
			this.MilitaryToDate = MilitaryToDate;
			this.MilitaryPosition = MilitaryPosition;
			this.PassportCode = PassportCode;
			this.PassportFromDate = PassportFromDate;
			this.PassportToDate = PassportToDate;
			this.Status = Status;
			this.Account = Account;
			this.Password = Password;
			this.Description = Description;
		}
		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the EmployeeCode value.
		/// </summary>
		public virtual String EmployeeCode { get; set; }

		/// <summary>
		/// Gets or sets the BranchCode value.
		/// </summary>
		public virtual String BranchCode { get; set; }

		/// <summary>
		/// Gets or sets the DepartmentCode value.
		/// </summary>
		public virtual String DepartmentCode { get; set; }

		/// <summary>
		/// Gets or sets the GroupCode value.
		/// </summary>
		public virtual String GroupCode { get; set; }

		/// <summary>
		/// Gets or sets the CandidateCode value.
		/// </summary>
		public virtual String CandidateCode { get; set; }

		/// <summary>
		/// Gets or sets the EnrollNumber value.
		/// </summary>
		public virtual String EnrollNumber { get; set; }

		/// <summary>
		/// Gets or sets the FirstName value.
		/// </summary>
		public virtual String FirstName { get; set; }

		/// <summary>
		/// Gets or sets the LastName value.
		/// </summary>
		public virtual String LastName { get; set; }

		/// <summary>
		/// Gets or sets the Alias value.
		/// </summary>
		public virtual String Alias { get; set; }

		/// <summary>
		/// Gets or sets the Sex value.
		/// </summary>
		public virtual Boolean Sex { get; set; }

		/// <summary>
		/// Gets or sets the Marriage value.
		/// </summary>
		public virtual String Marriage { get; set; }

		/// <summary>
		/// Gets or sets the Birthday value.
		/// </summary>
		public virtual DateTime Birthday { get; set; }

		/// <summary>
		/// Gets or sets the BirthPlace value.
		/// </summary>
		public virtual String BirthPlace { get; set; }

		/// <summary>
		/// Gets or sets the MainAddress value.
		/// </summary>
		public virtual String MainAddress { get; set; }

		/// <summary>
		/// Gets or sets the ContactAddress value.
		/// </summary>
		public virtual String ContactAddress { get; set; }

		/// <summary>
		/// Gets or sets the CellPhone value.
		/// </summary>
		public virtual String CellPhone { get; set; }

		/// <summary>
		/// Gets or sets the HomePhone value.
		/// </summary>
		public virtual String HomePhone { get; set; }

		/// <summary>
		/// Gets or sets the Email value.
		/// </summary>
		public virtual String Email { get; set; }

		/// <summary>
		/// Gets or sets the Photo value.
		/// </summary>
		public virtual Byte[] Photo { get; set; }

		/// <summary>
		/// Gets or sets the Nationality value.
		/// </summary>
		public virtual String Nationality { get; set; }

		/// <summary>
		/// Gets or sets the Ethnic value.
		/// </summary>
		public virtual String Ethnic { get; set; }

		/// <summary>
		/// Gets or sets the Religion value.
		/// </summary>
		public virtual String Religion { get; set; }

		/// <summary>
		/// Gets or sets the Education value.
		/// </summary>
		public virtual String Education { get; set; }

		/// <summary>
		/// Gets or sets the Language value.
		/// </summary>
		public virtual String Language { get; set; }

		/// <summary>
		/// Gets or sets the Informatic value.
		/// </summary>
		public virtual String Informatic { get; set; }

		/// <summary>
		/// Gets or sets the Professional value.
		/// </summary>
		public virtual String Professional { get; set; }

		/// <summary>
		/// Gets or sets the Position value.
		/// </summary>
		public virtual String Position { get; set; }

		/// <summary>
		/// Gets or sets the School value.
		/// </summary>
		public virtual String School { get; set; }

		/// <summary>
		/// Gets or sets the IDCard value.
		/// </summary>
		public virtual String IDCard { get; set; }

		/// <summary>
		/// Gets or sets the IDCardDate value.
		/// </summary>
		public virtual DateTime IDCardDate { get; set; }

		/// <summary>
		/// Gets or sets the IDCardPlace value.
		/// </summary>
		public virtual String IDCardPlace { get; set; }

		/// <summary>
		/// Gets or sets the IsTest value.
		/// </summary>
		public virtual Boolean IsTest { get; set; }

		/// <summary>
		/// Gets or sets the TestTime value.
		/// </summary>
		public virtual String TestTime { get; set; }

		/// <summary>
		/// Gets or sets the TestFromDate value.
		/// </summary>
		public virtual DateTime TestFromDate { get; set; }

		/// <summary>
		/// Gets or sets the TestToDate value.
		/// </summary>
		public virtual DateTime TestToDate { get; set; }

		/// <summary>
		/// Gets or sets the TestSalary value.
		/// </summary>
		public virtual Decimal TestSalary { get; set; }

		/// <summary>
		/// Gets or sets the BeginDate value.
		/// </summary>
		public virtual DateTime BeginDate { get; set; }

		/// <summary>
		/// Gets or sets the IsOffWork value.
		/// </summary>
		public virtual Boolean IsOffWork { get; set; }

		/// <summary>
		/// Gets or sets the EndDate value.
		/// </summary>
		public virtual DateTime EndDate { get; set; }

		/// <summary>
		/// Gets or sets the Health value.
		/// </summary>
		public virtual String Health { get; set; }

		/// <summary>
		/// Gets or sets the Height value.
		/// </summary>
		public virtual Double Height { get; set; }

		/// <summary>
		/// Gets or sets the Weight value.
		/// </summary>
		public virtual Double Weight { get; set; }

		/// <summary>
		/// Gets or sets the PayForm value.
		/// </summary>
		public virtual Int32 PayForm { get; set; }

		/// <summary>
		/// Gets or sets the PayMoney value.
		/// </summary>
		public virtual Decimal PayMoney { get; set; }

		/// <summary>
		/// Gets or sets the MinimumSalary value.
		/// </summary>
		public virtual Decimal MinimumSalary { get; set; }

		/// <summary>
		/// Gets or sets the RankSalary value.
		/// </summary>
		public virtual String RankSalary { get; set; }

		/// <summary>
		/// Gets or sets the StepSalary value.
		/// </summary>
		public virtual Int32 StepSalary { get; set; }

		/// <summary>
		/// Gets or sets the CoefficientSalary value.
		/// </summary>
		public virtual Double CoefficientSalary { get; set; }

		/// <summary>
		/// Gets or sets the DateSalary value.
		/// </summary>
		public virtual DateTime DateSalary { get; set; }

		/// <summary>
		/// Gets or sets the BasicSalary value.
		/// </summary>
		public virtual Decimal BasicSalary { get; set; }

		/// <summary>
		/// Gets or sets the InsuranceSalary value.
		/// </summary>
		public virtual Decimal InsuranceSalary { get; set; }

		/// <summary>
		/// Gets or sets the Allowance1 value.
		/// </summary>
		public virtual Decimal Allowance1 { get; set; }

		/// <summary>
		/// Gets or sets the Allowance2 value.
		/// </summary>
		public virtual Decimal Allowance2 { get; set; }

		/// <summary>
		/// Gets or sets the Allowance3 value.
		/// </summary>
		public virtual Decimal Allowance3 { get; set; }

		/// <summary>
		/// Gets or sets the Allowance4 value.
		/// </summary>
		public virtual Decimal Allowance4 { get; set; }

		/// <summary>
		/// Gets or sets the IsSocialInsurance value.
		/// </summary>
		public virtual Boolean IsSocialInsurance { get; set; }

		/// <summary>
		/// Gets or sets the IsHealthInsurance value.
		/// </summary>
		public virtual Boolean IsHealthInsurance { get; set; }

		/// <summary>
		/// Gets or sets the IsUnemploymentInsurance value.
		/// </summary>
		public virtual Boolean IsUnemploymentInsurance { get; set; }

		/// <summary>
		/// Gets or sets the IsUnionMoney value.
		/// </summary>
		public virtual Boolean IsUnionMoney { get; set; }

		/// <summary>
		/// Gets or sets the BankCode value.
		/// </summary>
		public virtual String BankCode { get; set; }

		/// <summary>
		/// Gets or sets the BankDate value.
		/// </summary>
		public virtual DateTime BankDate { get; set; }

		/// <summary>
		/// Gets or sets the BankName value.
		/// </summary>
		public virtual String BankName { get; set; }

		/// <summary>
		/// Gets or sets the BankAddress value.
		/// </summary>
		public virtual String BankAddress { get; set; }

		/// <summary>
		/// Gets or sets the LaborCode value.
		/// </summary>
		public virtual String LaborCode { get; set; }

		/// <summary>
		/// Gets or sets the LaborDate value.
		/// </summary>
		public virtual DateTime LaborDate { get; set; }

		/// <summary>
		/// Gets or sets the LaborPlace value.
		/// </summary>
		public virtual String LaborPlace { get; set; }

		/// <summary>
		/// Gets or sets the IsUnion value.
		/// </summary>
		public virtual Boolean IsUnion { get; set; }

		/// <summary>
		/// Gets or sets the UnionCode value.
		/// </summary>
		public virtual String UnionCode { get; set; }

		/// <summary>
		/// Gets or sets the UnionDate value.
		/// </summary>
		public virtual DateTime UnionDate { get; set; }

		/// <summary>
		/// Gets or sets the UnionPlace value.
		/// </summary>
		public virtual String UnionPlace { get; set; }

		/// <summary>
		/// Gets or sets the IsParty value.
		/// </summary>
		public virtual Boolean IsParty { get; set; }

		/// <summary>
		/// Gets or sets the PartyCode value.
		/// </summary>
		public virtual String PartyCode { get; set; }

		/// <summary>
		/// Gets or sets the PartyDate value.
		/// </summary>
		public virtual DateTime PartyDate { get; set; }

		/// <summary>
		/// Gets or sets the PartyPlace value.
		/// </summary>
		public virtual String PartyPlace { get; set; }

		/// <summary>
		/// Gets or sets the InsuranceCode value.
		/// </summary>
		public virtual String InsuranceCode { get; set; }

		/// <summary>
		/// Gets or sets the InsuranceDate value.
		/// </summary>
		public virtual DateTime InsuranceDate { get; set; }

		/// <summary>
		/// Gets or sets the InsurancePlace value.
		/// </summary>
		public virtual String InsurancePlace { get; set; }

		/// <summary>
		/// Gets or sets the HealthInsuranceCode value.
		/// </summary>
		public virtual String HealthInsuranceCode { get; set; }

		/// <summary>
		/// Gets or sets the HealthInsuranceFromDate value.
		/// </summary>
		public virtual DateTime HealthInsuranceFromDate { get; set; }

		/// <summary>
		/// Gets or sets the HealthInsuranceToDate value.
		/// </summary>
		public virtual DateTime HealthInsuranceToDate { get; set; }

		/// <summary>
		/// Gets or sets the ContractCode value.
		/// </summary>
		public virtual String ContractCode { get; set; }

		/// <summary>
		/// Gets or sets the ContractType value.
		/// </summary>
		public virtual String ContractType { get; set; }

		/// <summary>
		/// Gets or sets the ContractSignDate value.
		/// </summary>
		public virtual DateTime ContractSignDate { get; set; }

		/// <summary>
		/// Gets or sets the ContractFromDate value.
		/// </summary>
		public virtual DateTime ContractFromDate { get; set; }

		/// <summary>
		/// Gets or sets the ContractToDate value.
		/// </summary>
		public virtual DateTime ContractToDate { get; set; }

		/// <summary>
		/// Gets or sets the Province value.
		/// </summary>
		public virtual String Province { get; set; }

		/// <summary>
		/// Gets or sets the Hospital value.
		/// </summary>
		public virtual String Hospital { get; set; }

		/// <summary>
		/// Gets or sets the MilitaryCode value.
		/// </summary>
		public virtual String MilitaryCode { get; set; }

		/// <summary>
		/// Gets or sets the MilitaryFromDate value.
		/// </summary>
		public virtual DateTime MilitaryFromDate { get; set; }

		/// <summary>
		/// Gets or sets the MilitaryToDate value.
		/// </summary>
		public virtual DateTime MilitaryToDate { get; set; }

		/// <summary>
		/// Gets or sets the MilitaryPosition value.
		/// </summary>
		public virtual String MilitaryPosition { get; set; }

		/// <summary>
		/// Gets or sets the PassportCode value.
		/// </summary>
		public virtual String PassportCode { get; set; }

		/// <summary>
		/// Gets or sets the PassportFromDate value.
		/// </summary>
		public virtual DateTime PassportFromDate { get; set; }

		/// <summary>
		/// Gets or sets the PassportToDate value.
		/// </summary>
		public virtual DateTime PassportToDate { get; set; }

		/// <summary>
		/// Gets or sets the Status value.
		/// </summary>
		public virtual Int32 Status { get; set; }

		/// <summary>
		/// Gets or sets the Account value.
		/// </summary>
		public virtual String Account { get; set; }

		/// <summary>
		/// Gets or sets the Password value.
		/// </summary>
		public virtual String Password { get; set; }

		/// <summary>
		/// Gets or sets the Description value.
		/// </summary>
		public virtual String Description { get; set; }
		#endregion
	}
}